﻿using System;
using System.Collections.Generic;
using System.Web;

namespace SaleManagement.DTO
{
    public class Categories
    {
        // Instance field
        int CategoryID;

        //Get and set property of CategoryID
        public int categoryID
        {
            get { return CategoryID; }
            set { CategoryID = value; }
        }

        string CategoryName;

        public string categoryName
        {
            get { return CategoryName; }
            set { CategoryName = value; }
        }
        string Description;

        public string description
        {
            get { return Description; }
            set { Description = value; }
        }

        //Constructor without parameter
        public Categories() { }
        //Constructor with parameters
        public Categories(int ID,string Name,string Desc) 
        {
         
            this.CategoryID = ID;
            this.CategoryName = Name;
            this.Description = Desc;
        }
    }

}